package com.neusoft.neuiotms.dcom.repository.incident;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcom.model.incident.IncidentHandle;

/**
 * @author WYS
 * @date 2020年8月18日 下午2:07:39
 */
public interface IncidentHandleRepository
        extends JpaRepository<IncidentHandle, Long>, CustomizedIncidentHandleRepository {

    IncidentHandle findByWorkNumAndTaskId(String workNum, String taskId);

    void deleteByWorkNum(String workNum);

}
